package com.yc.dao;

import java.util.Map;

/**
 *
 * @author UNO
 * 2021年6月26日下午3:39:59
 */
public class AdminDao {

	public Map<String, Object> login(String account, String pwd){
		DBHelper db = new DBHelper();
		String sql = "select a_name, a_pwd from tb_admin where a_name = ? and a_pwd = ? ";
		return db.findSingle(sql, account, pwd);
	}
}
